package com.jy.modules.cims.data.common.dao;

import java.util.List;
import java.util.Map;

import com.jy.modules.cims.data.common.dto.TCMmConstraintValueDTO;
import com.jy.platform.core.mybatis.MyBatisRepository;
/**
 * @classname: TCMmConstraintValueDao
 * @description: 定义  T_C_MM_CONSTRAINT_VALUE 持久层 接口
 * 通过@MapperScannerConfigurer扫描目录中的所有接口, 动态在Spring Context中生成实现.
 * 方法名称必须与Mapper.xml中保持一致.
 * @author:  JY-IT-D001
 */
@MyBatisRepository
public interface TCMmConstraintValueDao {
    
    /**
     * @author JY-IT-D001
     * @description: 分页查询T_C_MM_CONSTRAINT_VALUE
     * @date 2015-01-06 17:32:39
     * @param searchParams
     * @return
     */
    public List<TCMmConstraintValueDTO> searchTCMmConstraintValueByPaging(Map<String, Object> searchParams) ;
    
    /**
     * @author JY-IT-D001
     * @description:查询对象T_C_MM_CONSTRAINT_VALUE
     * @date 2015-01-06 17:32:39
     * @param searchParams
     * @return
     */
    public List<TCMmConstraintValueDTO> searchTCMmConstraintValue(Map<String,Object> searchParams);

    /**
     * @author JY-IT-D001
     * @description:查询对象T_C_MM_CONSTRAINT_VALUE
     * @date 2015-01-06 17:32:39
     * @param id
     * @return
     */
    public TCMmConstraintValueDTO findTCMmConstraintValueByPrimaryKey(String id);
    
    /**
     * @author JY-IT-D001
     * @description: 新增对象T_C_MM_CONSTRAINT_VALUE
     * @date 2015-01-06 17:32:39
     * @param paramMap
     * @return
     */
    public int insertTCMmConstraintValue(Map<String, Object> paramMap);
    
    /**
     * @author JY-IT-D001
     * @description: 更新对象T_C_MM_CONSTRAINT_VALUE
     * @date 2015-01-06 17:32:39
     * @param paramMap
     */
    public void updateTCMmConstraintValue(Map<String, Object> paramMap);
     
    /**
     * @author JY-IT-D001
     * @description: 按主键删除T_C_MM_CONSTRAINT_VALUE
     * @date 2015-01-06 17:32:39
     * @param ids
     * @return
     */ 
    public void deleteTCMmConstraintValueByPrimaryKey(Map<String, Object> paramMap);
    /**
     * @author JY-IT-D001
     * @description: 按主表主键删除T_C_MM_CONSTRAINT_VALUE
     * @date 2015-01-06 17:32:39
     * @param ids
     * @return
     */ 
    public void deleteTCMmConstraintValueByConstraintId(Map<String, Object> paramMap);
}
